package com.springboot.postgres.service.impl;

import com.springboot.postgres.bean.ArrayData;
import com.springboot.postgres.mapper.ArrayDataMapper;
import com.springboot.postgres.service.ArrayDataService;
import com.springboot.postgres.service.base.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * @author: chenhs
 * @date: Created in 16:04 2020/4/19
 **/
@Repository("arrayDataService")
public class ArrayDataServiceImpl extends BaseService<ArrayData> implements ArrayDataService {

    @Autowired
    private ArrayDataMapper arrayDataMapper;

    @Override
    public ArrayData findDataById(Integer id) {
        return arrayDataMapper.findDataById(id);
    }
}
